package bookstore.utils;

public class AuthenticateException extends RuntimeException {
    private AuthType type;

    public AuthenticateException(AuthType type) {
        this.type = type;
    }

    public AuthType getType() {
        return type;
    }

    public void setType(AuthType type) {
        this.type = type;
    }

    public enum AuthType {LOGIN, ADMIN}
}
